package com.xzj.mybatis.core;

import java.io.InputStream;

/**
 * @ProjectName: SpringDemo
 * @Package: com.xzj.mybatis.core
 * @ClassName: Resources
 * @Author: xzj
 * @Description:
 * @Date: 2022/7/21 10:05
 * @Version: 1.0
 */
public class Resources {
    public static InputStream getResourceAsStream(String resource) {
        return Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
    }
}
